import React from "react"
import { createStackNavigator } from "@react-navigation/stack"
import { NotificationsParamList } from "../../types"
import Notifications from "../../screens/Notifications/Notifications"

const Stack = createStackNavigator<NotificationsParamList>()
const { Navigator, Screen } = Stack

const NotificationsNavigator = () => (
  <Navigator>
    <Screen
      name="Notifications"
      component={Notifications}
      options={{ headerTitle: "通知" }}
    />
  </Navigator>
)

export default NotificationsNavigator
